﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Salary
{
    class Program
    {
        static void Main(string[] args)
        {
            Worker wk = new Worker("Bob", 12500);
            HourlyWorker hwk = new HourlyWorker("Stive", 5.7, 18);
            wk.CalculateSalary();
            hwk.CalculateSalary();
        }
    }
}
